package apiday02;

import java.util.Scanner;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入：");
        String str = scanner.nextLine();
        String s = str.replaceAll("我[草艹去]","****");
        System.out.println(s);

    }
}
